A Polynomial-time Exact Algorithm for the Subset Sum Problem
نویسندگان
چکیده
Subset sum problem, (SSP), is an important problem in complexity theory, it belongs to complexity class NP-Hard, therefore to find a polynomial-time exact algorithm that solves subset sum problem proves that P=NP. In the present paper it will be shown a theorem that allows us to develop, as described in the paper, an algorithm of polynomial-time complexity. For a deepening on complexity theory and a proof about SSP complexity refer to : “Computers and Intractability: A guide to the theory of NP-completeness.”, Michael R. Garey, David S. Johnson WH Freeman, 1979. 1.0 Definition of the problem. Subset sum problem (SSP) can be defined as follow : Given a set W of n positive integers and an integer c,
منابع مشابه
A Quantum Approach to Subset-Sum and Similar Problems
In this paper, we study the subset-sum problem by using a quantum heuristic approach similar to the verification circuit of quantum Arthur-Merlin games [1]. Under described certain assumptions, we show that the exact solution of the subset sum problem my be obtained in polynomial time and the exponential speed-up over the classical algorithms may be possible. We give a numerical example and dis...
متن کاملThe Subset Sum Problem: Reducing Time Complexity of NP-Completeness with Quantum Search
Abstract. The Subset Sum Problem is a member of the NP-complete class, so no known polynomial time algorithm exists for it. Although there are polynomial time approximations and heuristics, these are not always acceptable, yet exact-solution algorithms are unfeasible for large input. Quantum computation offers new insights for not only the Subset Sum Problem but also the entire NP-complete clas...
متن کاملReducing a Target Interval to a Few Exact Queries
Many combinatorial problems involving weights can be formulated as a so-called ranged problem. That is, their input consists of a universe U , a (succinctly-represented) set family F ⊆ 2 , a weight function ω : U → {1, . . . , N}, and integers 0 ≤ l ≤ u ≤ ∞. Then the problem is to decide whether there is an X ∈ F such that l ≤ ∑ e∈X ω(e) ≤ u. Well-known examples of such problems include Knapsac...
متن کاملConnection Preemption in Multi-Class Networks
We address the problem of connection preemption in a multi-class network environment. Our objective is: i) to minimize the number of preempted connections, and ii) to minimize the total preempted bandwidth, in that order. We show that this problem is NP-complete by reducing it to a well-known NP complete problem – the subset sum problem. Therefore, a known polynomial time algorithm, such as Min...
متن کاملSolving Medium-Density Subset Sum Problems in Expected Polynomial Time
The subset sum problem (SSP) can be briefly stated as: given a target integer E and a set A containing n positive integer aj , find a subset of A summing to E. The density d of an SSP instance is defined by the ratio of n to m, where m is the logarithm of the largest integer within A. Based on the structural and statistical properties of subset sums, we present an improved enumeration scheme fo...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013